﻿<?php
/**
 * DESCRIPTION:
 *  password field, extends Text field class
 * FIELDS:
 * METHODS:
 *  void __construct($name, $caption, $is_required = false, $value = "", $maxlength = 255, $size = 41, $parameters = "", $help = "", $help_url = "") is a class constructor
 * ======
 * @author at8eqeq3
 * @version 0.1
 */
//until we'll find a better way
require_once('field_text.class.php');

class field_password extends field_text {

    function __construct($name, $caption, $is_required = false, $value = "", $maxlength = 255, $size = 41, $parameters = "", $help = "", $help_url = ""){
        parent::__construct($name, $caption, $is_required, $value, $maxlength, $size, $parameters, $help, $help_url);

        $this->type = 'password';
    }
}
?>